﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Santa_sAdventure.Model.Enums;
using Microsoft.Xna.Framework.Content;

namespace Santa_sAdventure.Model
{
    class EnemyFacory
    {
        // Returns a MoveingEnemy obj
        internal Enemy MakeMovingEnemy(int a_xPos, int a_yPos, ContentManager a_content)
        {
            var retEnemy = new MovingEnemy(a_content);
            retEnemy.Position = new Vector2(a_xPos, a_yPos);
            retEnemy.Size = new Vector2(0.8f, 2f);
            return retEnemy;
        }

        // Returns a ShootingEnemy obj
        internal Enemy MakeShootingEnemy(int a_xPos, int a_yPos, ContentManager a_content, int a_direction)
        {
            var retEnemy = new ShootingEnemy(a_content, a_direction, a_yPos);
            retEnemy.Position = new Vector2(a_xPos, a_yPos);
            retEnemy.Size = new Vector2(0.8f, 2f);
            return retEnemy;
        }
    }
}
